package com.vito.dcs.sys.layer.service;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.vito.base.authoriza.service.BaseService;
import com.vito.base.model.DataGrid;
import com.vito.dcs.sys.layer.model.SysLayerModel;

/**
 * 结构层
 * @author lyhao
 *
 */
public interface SysLayerService extends BaseService {
	/**
	 * 添加
	 * @param sysLayerModel
	 */
	public void saveSysLayer(SysLayerModel sysLayerModel);
	/**
	 * 分页查询
	 * @param sysLayerModel
	 * @return
	 */
	public DataGrid<SysLayerModel> querySysLayerByPage(SysLayerModel sysLayerModel);
	/**
	 * 查询
	 * @param sysLayerModel
	 * @return
	 */
	public SysLayerModel querySysLayer(SysLayerModel sysLayerModel);
	/**
	 * 修改
	 * @param sysLayerModel
	 * @return
	 */
	public SysLayerModel updateSysLayer(SysLayerModel sysLayerModel);
	/**
	 * 删除
	 * @param sysLayerModel
	 * @return
	 */
	public Integer deleteSysLayer(SysLayerModel sysLayerModel);
	
	/**
	 * 查询结构层和材料类型集合
	 * @return
	 */
	public JSONObject queryLayerAndMaterialList();
	
	/**
	 * 查询所有面层集合
	 * @param sysLayerModel
	 * @return
	 */
	public List<SysLayerModel> querySysLayerList(SysLayerModel sysLayerModel);
}